/* 主日学圣经问答 - 儿童友好样式 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根元素变量 */
:root {
    /* 彩虹色彩 */
    --rainbow-red: #ff6b6b;
    --rainbow-orange: #ffa726;
    --rainbow-yellow: #ffeb3b;
    --rainbow-green: #66bb6a;
    --rainbow-blue: #42a5f5;
    --rainbow-indigo: #7e57c2;
    --rainbow-violet: #ab47bc;
    
    /* 主要颜色 */
    --primary-color: var(--rainbow-blue);
    --secondary-color: var(--rainbow-green);
    --accent-color: var(--rainbow-yellow);
    --success-color: var(--rainbow-green);
    --error-color: var(--rainbow-red);
    
    /* 背景色 */
    --bg-primary: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 50%, #fff3e0 100%);
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-overlay: rgba(0, 0, 0, 0.1);
    
    /* 文字颜色 */
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-light: #ffffff;
    
    /* 阴影 */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    
    /* 圆角 */
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 30px;
    
    /* 字体大小 */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
}

/* 基础样式 */
body {
    font-family: 'Comic Neue', cursive, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 背景装饰 */
.background-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.cloud {
    position: absolute;
    font-size: 3rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.cloud1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cloud2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.cloud3 {
    top: 60%;
    left: 5%;
    animation-delay: 4s;
}

.star {
    position: absolute;
    font-size: 1.5rem;
    animation: twinkle 2s ease-in-out infinite alternate;
}

.star1 {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.star2 {
    top: 70%;
    right: 10%;
    animation-delay: 1s;
}

.star3 {
    top: 80%;
    left: 20%;
    animation-delay: 0.5s;
}

.rainbow {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 200px;
    height: 100px;
    background: linear-gradient(
        90deg,
        var(--rainbow-red) 0%,
        var(--rainbow-orange) 16.66%,
        var(--rainbow-yellow) 33.33%,
        var(--rainbow-green) 50%,
        var(--rainbow-blue) 66.66%,
        var(--rainbow-indigo) 83.33%,
        var(--rainbow-violet) 100%
    );
    border-radius: 200px 200px 0 0;
    opacity: 0.3;
    animation: rainbow-glow 4s ease-in-out infinite;
}

/* 音频控制 */
.audio-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    background: var(--bg-card);
    padding: 10px 15px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
}

.audio-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: var(--radius-small);
    transition: all 0.3s ease;
}

.audio-btn:hover {
    background: var(--bg-overlay);
    transform: scale(1.1);
}

.volume-slider {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--rainbow-red), var(--rainbow-violet));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

/* 页面容器 */
.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

/* 欢迎页面 */
.welcome-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.game-title {
    margin-bottom: 40px;
}

/* Logo 样式 */
.logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: gentle-bounce 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.game-logo:hover {
    transform: scale(1.1);
}

/* Logo 动画 */
@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式 Logo */
@media (max-width: 768px) {
    .game-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .game-logo {
        width: 50px;
        height: 50px;
    }
}

.title-text {
    font-size: var(--font-4xl);
    font-weight: 700;
    background: linear-gradient(45deg, var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow), var(--rainbow-green), var(--rainbow-blue), var(--rainbow-violet));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-text 3s ease-in-out infinite;
    margin-bottom: 10px;
}

.subtitle {
    font-size: var(--font-xl);
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 吉祥物 */
.character-mascot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.mascot {
    font-size: 4rem;
    animation: bounce 2s ease-in-out infinite;
}

.speech-bubble {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    position: relative;
    max-width: 300px;
    animation: pulse 3s ease-in-out infinite;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--bg-card);
}

.speech-bubble p {
    margin: 0;
    font-size: var(--font-base);
    color: var(--text-primary);
}

/* 难度选择 */
.difficulty-selection {
    margin-bottom: 40px;
}

.difficulty-selection h2 {
    font-size: var(--font-2xl);
    margin-bottom: 30px;
    color: var(--text-primary);
}

.difficulty-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.kids-btn {
    background: var(--bg-card);
    border: 3px solid transparent;
    border-radius: var(--radius-large);
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.kids-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.kids-btn:hover::before {
    left: 100%;
}

.kids-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.kids-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.btn-text h3 {
    font-size: var(--font-xl);
    margin-bottom: 5px;
    color: var(--text-primary);
}

.btn-text p {
    font-size: var(--font-base);
    color: var(--text-secondary);
    margin: 0;
}

/* 统计显示 */
.stats-display {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
}

.stat-number {
    display: block;
    font-size: var(--font-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

/* 菜单按钮 */
.menu-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    padding: 15px 30px;
    border-radius: var(--radius-medium);
    font-size: var(--font-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.menu-btn:active {
    transform: translateY(-1px);
}

/* 游戏页面 */
.game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.game-header {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
}

.progress-section {
    margin-bottom: 20px;
}

.progress-info {
    text-align: center;
    margin-bottom: 15px;
}

.question-counter {
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow), var(--rainbow-green), var(--rainbow-blue));
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 2s ease-in-out infinite;
}

.score-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.score-display, .streak-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-lg);
    font-weight: 600;
}

.score-icon, .streak-icon {
    font-size: 1.5rem;
}

/* 问题卡片 */
.question-section {
    margin-bottom: 30px;
}

.question-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rainbow-red), var(--rainbow-orange), var(--rainbow-yellow), var(--rainbow-green), var(--rainbow-blue), var(--rainbow-violet));
}

.question-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.question-text {
    font-size: var(--font-xl);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

/* 选项区域 */
.options-section {
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* PC端：2x2网格布局 */
@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 800px;
        margin: 20px auto;
    }
}

.kids-option {
    background: var(--bg-card);
    border: 3px solid transparent;
    border-radius: var(--radius-medium);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.kids-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.kids-option:hover::before {
    left: 100%;
}

.kids-option:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.kids-option:active {
    transform: translateY(-1px);
}

.kids-option.correct {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.1), rgba(102, 187, 106, 0.05));
    animation: correct-pulse 0.6s ease-in-out;
}

.kids-option.wrong {
    border-color: var(--error-color);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    animation: wrong-shake 0.6s ease-in-out;
}

.kids-option:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.option-letter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-lg);
    flex-shrink: 0;
}

.option-text {
    font-size: var(--font-base);
    color: var(--text-primary);
    flex: 1;
}

/* 反馈区域 */
.feedback-section {
    margin-bottom: 30px;
}

.feedback-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.feedback-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out;
}

.feedback-text {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.explanation-text {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 游戏控制 */
.game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.control-btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-medium);
    font-size: var(--font-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-btn {
    background: linear-gradient(135deg, var(--success-color), #4caf50);
    color: var(--text-light);
}

.quit-btn {
    background: linear-gradient(135deg, var(--error-color), #f44336);
    color: var(--text-light);
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.control-btn:active {
    transform: translateY(-1px);
}

/* 结果页面 */
.result-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
}

.result-celebration {
    margin-bottom: 40px;
}

.celebration-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: celebration 2s ease-in-out infinite;
}

.result-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--rainbow-red), var(--rainbow-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-message {
    font-size: var(--font-lg);
    color: var(--text-secondary);
}

.score-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.final-score {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.score-icon {
    font-size: 3rem;
}

.score-number {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    font-size: var(--font-base);
    color: var(--text-secondary);
}

.accuracy-display {
    text-align: center;
}

.accuracy-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.accuracy-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.accuracy-text {
    color: var(--text-light);
    font-weight: 700;
    z-index: 1;
}

.accuracy-number {
    font-size: var(--font-2xl);
}

.accuracy-symbol {
    font-size: var(--font-lg);
}

.accuracy-label {
    font-size: var(--font-base);
    color: var(--text-secondary);
}

/* 成就展示 */
.achievements-earned {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
}

.achievements-earned h3 {
    font-size: var(--font-xl);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.new-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    background: linear-gradient(135deg, var(--accent-color), #ffc107);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: var(--radius-medium);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    animation: badge-bounce 1s ease-out;
}

/* 动作按钮 */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 25px;
    border: none;
    border-radius: var(--radius-medium);
    font-size: var(--font-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    background: linear-gradient(135deg, #2196f3, #03a9f4);
    color: var(--text-light);
}

.play-again-btn {
    background: linear-gradient(135deg, var(--success-color), #4caf50);
    color: var(--text-light);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 成就页面 */
.achievements-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.page-header h2 {
    font-size: var(--font-3xl);
    color: var(--text-primary);
}

.back-btn {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--radius-medium);
    font-size: var(--font-base);
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card.unlocked {
    border: 2px solid var(--success-color);
}

.achievement-card.locked {
    opacity: 0.6;
    filter: grayscale(50%);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.achievement-name {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.achievement-description {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 分享弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
    font-size: var(--font-xl);
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--bg-overlay);
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

.share-preview {
    background: var(--bg-overlay);
    padding: 20px;
    border-radius: var(--radius-medium);
    margin-bottom: 20px;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-option {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 特效容器 */
.effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .difficulty-buttons {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .score-section {
        flex-direction: column;
        text-align: center;
    }
    
    .character-mascot {
        flex-direction: column;
    }
    
    .speech-bubble {
        max-width: 100%;
    }
    
    .speech-bubble::before {
        left: 50%;
        top: -10px;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid var(--bg-card);
        border-top: none;
    }
    
    .score-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .title-text {
        font-size: var(--font-3xl);
    }
    
    .kids-btn {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .question-text {
        font-size: var(--font-lg);
    }
    
    .kids-option {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .page-header {
        flex-direction: column;
        text-align: center;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}